package com.example.passport.dto;

import com.example.front.dto.BoxDto;
import com.example.passport.entity.RoleTask;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class TaskDto {
    @NotNull(message = "id不能为空")
    private Long roleId;
    private List<RoleTask> roleTaskList;
}
